#ifndef TemperatureHumidityDewpoint_h
#define TemperatureHumidityDewpoint_h

#include <DHT.h>
#include "Arduino.h"
#include "dht.h"


class TemperatureHumidityDewpoint {
  public:
     TemperatureHumidityDewpoint(int sensorPin, double humidityCorrection);
     void readSensor();
     String status;
     double humidity;
     double temperature;
     double dewpoint;
  private:
     int _sensorPin;
     double _humidityCorrection;
     dht _dht;
     void _calculateDewpoint(double celsius, double humidity);
};

#endif

